<template>
  <div id="tab-bar">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "TabBar"
}
</script>

<style scoped>


#tab-bar {
  /* 转换成行内元素 flex布局*/
  display: flex;
  /*指定背景颜色*/
  background-color: #f2f2f2;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /*指定阴影*/
  box-shadow: 0 -3px 1px rgba(100, 100, 100, 0.1);

}
</style>
